import { AxiosServer } from "../utils/index.js";

//侧边导航信息接口
export const getSeder = async () => await AxiosServer.get("/zw/seder")
//侧边导航内容接口
export const getCon = async (tid) => await AxiosServer.get("zw/con?tid="+tid)
//课程信息接口
export const getCourses = async () => await AxiosServer.get("zw/course")

//添加订单接口
export const orderAdd = async (title,image,price,orderprice,discount,create_time) => await AxiosServer.post("zw/order", { title,image,price,orderprice,discount,create_time })

